package com.ruoyi.bank.domain;

import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_bank
 * 
 * @author ruoyi
 * @date 2023-11-03
 */
@Getter
public class Bank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private Long bankNumber;

    /** 银行支行名称 */
    @Excel(name = "银行支行名称")
    private String bankSubbranch;

    /** 删除状态(0正常,1删除) */
    @Excel(name = "删除状态(0正常,1删除)")
    private Long delTag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public void setBankNumber(Long bankNumber)
    {
        this.bankNumber = bankNumber;
    }

    public void setBankSubbranch(String bankSubbranch)
    {
        this.bankSubbranch = bankSubbranch;
    }

    public void setDelTag(Long delTag)
    {
        this.delTag = delTag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("bankName", getBankName())
            .append("bankNumber", getBankNumber())
            .append("bankSubbranch", getBankSubbranch())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delTag", getDelTag())
            .toString();
    }
}
